import { createApp } from "vue";
import ElementPlus from "element-plus";
import zhCn from "element-plus/es/locale/lang/zh-cn";
import "element-plus/dist/index.css";
import App from "@/App.vue";
import "@/styles/index.scss";

const app = createApp(App);
app.use(ElementPlus, {
  locale: zhCn,
});
app.use(ElementPlus);

console.log(import.meta.env);

//svg插件配置代码
import "virtual:svg-icons-register";

//引入自定义插件对象：注册整个项目全局组件
import gloalComponent from "@/components";
app.use(gloalComponent);
app.mount("#app");
